$saveOrder = $listOrder == '{$AUTO_GENERATOR_ORDERING_FIELD}';
if ($saveOrder) {
    $saveOrderingUrl = 'index.php?option=com_{$AUTO_GENERATOR_COMPONENT|lower}&task={$AUTO_GENERATOR_CONTROLLERS|lower}.saveOrderAjax';
    JHtml::_('sortablelist.sortable', '{$AUTO_GENERATOR_VIEWS|lower}List', 'adminForm', strtolower($listDirn), $saveOrderingUrl);
}